package com.lawrence.dao;

import com.lawrence.common.bean.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


/**
 * @author wanglanglang
 */
@Mapper
public interface IUserDao {
    /**
     * 根据 ID 查询
     * @param id
     * @return User
     */
    @Select("select * from user where id = #{id}")
     User getById(Integer id);
}
